package com.sumfun.blog.service;

import com.sumfun.blog.model.domain.Article;
import com.sumfun.blog.model.domain.ArticleTagReferenced;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sumfun.blog.model.request.ArticleUpdateRequest;

import java.util.List;
import java.util.Map;

/**
* @author 17337
* @description 针对表【article_tag_referenced(文章标签 )】的数据库操作Service
* @createDate 2025-01-09 15:35:02
*/
public interface ArticleTagReferencedService extends IService<ArticleTagReferenced> {

    Map<Long,List<ArticleTagReferenced>> getByArticleIds(List<Long> articleIds);

    List<Long> getTagIdsByArticleId(Long articleId);

    Boolean deleteByArticleId(Long articleId);

    void updateArticle(ArticleUpdateRequest articleUpdateRequest);
}
